package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.Date;

public class Admin implements Serializable {
    /**
	* 管理员id
	*/
    private Integer id;

    /**
	* 管理员用户名
	*/
    private String adminName;

    /**
	* 管理员密码
	*/
    private String adminPass;

    /**
	* 管理员注册时间
	*/
    private Date inputtime;

    /**
	* 管理员登录时间
	*/
    private Date loginTime;

    /**
	* 管理员登录次数
	*/
    private Integer loginCount;

    /**
	* 管理员登录ip
	*/
    private String loginIp;

    /**
	* 假删除
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPass() {
        return adminPass;
    }

    public void setAdminPass(String adminPass) {
        this.adminPass = adminPass;
    }

    public Date getInputtime() {
        return inputtime;
    }

    public void setInputtime(Date inputtime) {
        this.inputtime = inputtime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", adminName=").append(adminName);
        sb.append(", adminPass=").append(adminPass);
        sb.append(", inputtime=").append(inputtime);
        sb.append(", loginTime=").append(loginTime);
        sb.append(", loginCount=").append(loginCount);
        sb.append(", loginIp=").append(loginIp);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}